package ui.gui;

import javax.swing.JTable;
import javax.swing.ListSelectionModel;
import javax.swing.table.TableModel;

/**
 * @author Piesold
 */
public class Table extends JTable {

	/**
	 * create new table
	 * @param arg0 the table model to set
	 */
	public Table( TableModel arg0 ) {
		super(arg0);
		this.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
	}

	@Override
	public boolean isCellEditable(int row, int column) {
		return false;
	}

}
